

package com.buyantech.smweb.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import javacommon.base.BaseEntity;
/**
 * 意见反馈
 * @author Administrator
 */
@Entity
@Table(name = "suggestion")
public class Suggestion extends BaseEntity implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;

	private String id;
	private String userid;  //用户id
	private String username;//用户名称
	private String title;   //标题
	private String content; //内容
	private String content2;//回复内容
	private String crdate;//创建时间
	private String hudate;//回复时间
	
	public static final String FORMAT_REGDATE = DATE_FORMAT;

	
	@Id @GeneratedValue(generator="uuid-id")
	@GenericGenerator(name="uuid-id", strategy = "uuid")
	@Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true, length = 128)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCrdate() {
		return crdate;
	}

	public void setCrdate(String crdate) {
		this.crdate = crdate;
	}

	public String getContent2() {
		return content2;
	}

	public void setContent2(String content2) {
		this.content2 = content2;
	}

	public String getHudate() {
		return hudate;
	}

	public void setHudate(String hudate) {
		this.hudate = hudate;
	}
	
}
